This is the preferred way of launching applications nowadays.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081
type: 'desktop'
)
+configure_file(
+ input: app_id + '.service.in',
+ output: app_id + '.service',
+ configuration: desktopconf,
+ install: true,
+ install_dir: servicedir,
+)
+
subdir('icons')
subdir('metainfo')
Icon=@app_id@
Comment=Configure GNOME Shell Extensions
Exec=@bindir@/@prgname@ %u
+DBusActivatable=true
Categories=GNOME;GTK;
OnlyShowIn=GNOME;
--- /dev/null
+[D-BUS Service]
+Name=@app_id@
+Exec=@bindir@/@prgname@